package com.lmpop.frame.dao;

import java.util.ArrayList;
import java.util.List;

import com.lmpop.trade.ti_newscomment.Ti_newscomment;

public class AjaxDbmImpl
{
  public List<Ti_newscomment> getList(String sql)
    throws Exception
  {
    List infoList = new ArrayList();
    JdbcDbm jdbc = new JdbcDbm();
    infoList = jdbc.find(sql);
    System.out.println(infoList);
    return infoList;
  }
}